#ifndef IODEVICE_HPP
#define IODEVICE_HPP

/* Camellia 通用接口 - IO设备 */

class IODevice{
public:
    virtual int write(unsigned char *buff,int size) = 0;
    virtual int read(unsigned char *buff,int size) = 0;
};

#endif
